package com.example.service;

import com.example.entity.Forum;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ForumService {

    int addForum(Integer userId,String content);

    List<Forum>  listForum(Integer user_id);
    List<Forum> listForumById(int userId);

    int deleteForum(@Param("share_id") int share_id, @Param("user_id") int user_id);
}